package com.zjl.core.dao;

import com.zjl.core.entity.BaseUser;
import com.zjl.core.entity.BaseUserWithBLOBs;

public interface BaseUserMapper {
    int deleteByPrimaryKey(String userid);

    int insert(BaseUserWithBLOBs record);

    int insertSelective(BaseUserWithBLOBs record);

    BaseUserWithBLOBs selectByPrimaryKey(String userid);

    int updateByPrimaryKeySelective(BaseUserWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(BaseUserWithBLOBs record);

    int updateByPrimaryKey(BaseUser record);

    /**
     * 根据账号获取用户
     *
     * @param account
     * @return
     */
    BaseUserWithBLOBs selectByAccount(String account);
}